package com.liumuxian.video.service;

import com.liumuxian.video.pojo.Resource;

import java.util.List;

public interface ResourceService {
    void save(Resource resource);
    void saveAll(List<Resource> resources);
    void update(Resource resource);
    List<Resource> findAllByState(Integer state);
    Resource getOne(String rid);
}
